package com.qf.goods.service.impl;

import com.qf.goods.entity.GoodsSort;
import com.qf.goods.mapper.GoodsSortMapper;
import com.qf.goods.service.GoodsSortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsSortServiceImpl implements GoodsSortService{

    @Autowired
    private GoodsSortMapper goodsSortMapper;

    @Override
    public List<GoodsSort> findAll() {
        return goodsSortMapper.selectByExample(null);
    }
}
